package gof.com.yew.interpreter;

public class AndExpression implements Expression {
	
	private Expression e1;
	private Expression e2;
	
	public AndExpression(Expression e1, Expression e2) {
		this.e1 = e1;
		this.e2 = e2;	
	}
	
	@Override
	public boolean interpreter(String Context) {
		return e1.interpreter(Context) && e2.interpreter(Context);
	}

}
